Change the extension from 'tmp' to '.tmp'.