This was the last function using a shell script, so this allows us to get rid of tar, coreutils, bash etc.