subprocess.call Blocks, we do not need to wait()
Do not try to encode if we could not generate a temp file
Join file to directory with /, not NULL