workable version of boost mapped_file_source and mapped_file_sink