added posix_fallocate alike implementation for BSD Systems