replace fallocate call with dd for better portability