improved path-configuration
added moveFile because fs.rename fails under Linux when moving uploaded files from /tmp (tmpfs)