Fixed a few random issues with uploads, paths, etc.