Improvements for write_rockspec