File upload bug fix + remote root saving