- Adapted flag parsing for latest go-flags package
- Added support for path/segment patterns (path patterns start with /)
- Added support for ** wildcards
- Added proper handling of the following two situations: local file exists with the same name as a remote directory, local directory exists with the same name as a local file
- Added format.sh