I think the store mechanism should hold the file name in a meta-data or database.
and not as it is.
The server can't upload .htacess files (due to obvious limitation) - but as a developer I have .htaccess files I need to use and sync
So there should be a way to sync these files without violating / compromising server's security.