Fixed bug opening files without write permission
Fixed bug opening files without write permission

By default if 'r' or 'rw' mode was requested files were being opened in
append mode. Have updated so if 'r' mode is requested will only open
file in read mode.

silyko/laspy,silyko/laspy,blazbratanic/laspy,blazbratanic/laspy