fix fcntl conflicts from PR #176
fix mount command
fix monitor_command for non-list commands
Merge pull request #177 from coryb/testing

fix fcntl conflicts from PR #176