Fixes to temp file location beside home file