Removed non-POSIX tempfile command, using a hardcoded filename instead