Ignore tmp files when run from source directory.