Include base_path in path when opening file for write
Merge pull request #4 from NobrainerWeb/patch-3

Include base_path in path when opening file for write