prevent filesystem from reading beyond offset

#14