png_reader ensure we throw early if a file_source cannot be opened
best practice: lways define NOMINMAX when including windows.h