Fixes for moving uploads outside of directory