couple small bugs fixed

permissions, function name, and temp file confusion
Merge branch 'master' of https://github.com/Earththing/Print_Fixed

Conflicts:
	print_fixed.R