.gitignore - ignore strange Windows hidden files
build/upload - fixes for Windows paths and read-only dirs

Windows uses different path separators and has strange permissions
issues when deleting directories.