Bug fixes

Fixed encoding issue with chcp 65001, no longer a need for this command
Fixed issue opening filenames with a space in them