Move generated files to tmp directory, include tmp directory in gitignore