BED is 0-based format
added overwrite protection; closes #59