Merge to master of Megazig/p3ds

cleanup of file handling and utf16 strings