If the tmp dir has a space in it, this command may behave unexpectedly. Might want to enclose the filepath in quotes to ensure a space doesn't break the output file path.