Enable read-only file support

This enables taglib to open files in read-only mode. Not sure if it's is even desired, I needed it though. So why not share it?